package com.cch.cooperation.dao.vip.model;

import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * Vip 订阅计划
 *
 * @author cch on 2025-10-01
 */
@ApiModel("Vip 订阅计划")
@Data
public class VipSubscriptionPlan implements Serializable {

    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("订阅计划名称")
    private String name;

    @ApiModelProperty("折扣价")
    private BigDecimal discountPrice;

    @ApiModelProperty("价格")
    private BigDecimal price;

    @ApiModelProperty("订阅类型（1=月 2=季度 3=年 4=连续包月 5=连续包季 6=连续包年）")
    private Integer type;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty("修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    public static final String ID = "id";
    public static final String NAME = "name";
    public static final String DISCOUNT_PRICE = "discount_price";
    public static final String PRICE = "price";
    public static final String TYPE = "type";
    public static final String CREATE_TIME = "create_time";
    public static final String UPDATE_TIME = "update_time";

}